package com.cblue.qimokao.service;



import com.cblue.qimokao.entity.Film;
import com.cblue.qimokao.vo.PageResult;

import java.util.List;
import java.util.Map;

public interface FilmService {

   PageResult findByPage(Map<String, Object> searchMap, Integer page, Integer size);

   //库存号扣减
   public void sub(Integer id);

    List<Film> findAll();

    //获得余票
    public Integer findLastNum();
}
